package com.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单表(Orders)实体类
 *
 * @author
 * @since 2023-04-10 17:27:55
 */
public class Orders implements Serializable {
    private static final long serialVersionUID = -62366178075831396L;

    private String oid;
    /**
     * 创建时间
     */
    private Date creatTime;
    /**
     * 订单金额
     */
    private Integer money;
    /**
     * 订单创建者
     */
    private String username;

    public String getOid() { return oid; }

    public void setOid(String oid) { this.oid = oid; }

    public Date getCreatTime() { return creatTime; }

    public void setCreatTime(Date creatTime) { this.creatTime = creatTime; }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) { this.money = money; }

    public String getUsername() { return username; }

    public void setUsername(String username) { this.username = username; }

    @Override
    public String toString() {
        return "Orders{" +
                "oid='" + oid + '\'' +
                ", money=" + money +
                ", username='" + username + '\'' +
                '}';
    }
}
